package com.zhulin.android.edoctor.jsonobject;

import java.io.Serializable;
import java.util.List;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import android.graphics.Bitmap;

/**
 * 病例实例对象
 * @author kechanghe
 *
 */
@DatabaseTable
public class JOCaseInfoModel extends BaseSerializable{


	@DatabaseField
	private String name;

	/*
	 * 赞
	 */
	@DatabaseField
	private int PraiseCount=0;
	
	/*
	 * 评
	 */
	@DatabaseField
	private int commentCount=0;
	
	/*
	 * 上伟时间
	 */
	@DatabaseField
	private String updateDate="";
	
	/*
	 * 案例图片
	 */
//	private byte[] bitmap01;
//	
//	private byte[] bitmap02;

	@DatabaseField
	private String sex;
	
	@DatabaseField
	private int age;
	
	/*
	 * 部位
	 */
	@DatabaseField
	private String place;
	
	/*
	 * 主诉
	 */
	@DatabaseField
	private String selftDescription;
	
	/*
	 * 照片简述及诊断依据
	 */
	@DatabaseField
	private String pictureDescription;
	
	/**
	 * 治疗方法
	 */
	@DatabaseField
	private String function;

	/*
	 * 治疗结果
	 */
	@DatabaseField
	private String result;

	@DatabaseField
	private boolean hasUploaded=false;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getPraiseCount() {
		return PraiseCount;
	}

	public void setPraiseCount(int praiseCount) {
		PraiseCount = praiseCount;
	}

	public int getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(int commentCount) {
		this.commentCount = commentCount;
	}

	public String getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(String updateDate) {
		this.updateDate = updateDate;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getPlace() {
		return place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public String getSelftDescription() {
		return selftDescription;
	}

	public void setSelftDescription(String selftDescription) {
		this.selftDescription = selftDescription;
	}

	public String getPictureDescription() {
		return pictureDescription;
	}

	public void setPictureDescription(String pictureDescription) {
		this.pictureDescription = pictureDescription;
	}

	public String getFunction() {
		return function;
	}

	public void setFunction(String function) {
		this.function = function;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public boolean isHasUploaded() {
		return hasUploaded;
	}

	public void setHasUploaded(boolean hasUploaded) {
		this.hasUploaded = hasUploaded;
	}
}
